<?php echo $form->showMessageError('list_product');?>
<?php echo $form->showMessageOther('guardado');?>
<br/>
<br/>    
<?php echo $dialog->show(); ?>
<?php echo $dialog_product->show(); ?>
<script>
    function delete_product(id){
        if (confirm('Esta seguro que desea eliminar este item')){
            $('#id_row_'+id).remove();
        }
    }
</script>
<?php echo $form->startForm(); ?>
<center>
    <fieldset style="width:670px;">
        <legend><h2>Nuevo Presupuesto</h2></legend>
        <table width="670">
            <tr>
                <td colspan="4" align="right"><?php echo $link_back->show(); ?></td>
            </tr>
            <tr>
                <td><?php echo $number_label->show(); ?></td>
                <td><?php echo $number_entry->show(); ?></td>
                <td>&nbsp;</td>
                <td >&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2"><?php echo $form->showMessageError('number'); ?></td>
                <td colspan="2"></td>
            </tr>
            <tr>
                <td><?php echo $id_client_label->show(); ?></td>
                <td>
                    <table>
                        <tr>
                            <td><?php echo $id_client_entry->show(); ?></td><td><?php echo $image_search->show();?></td></td>
                        </tr>
                    </table>
                </td>
                <td><?php echo $date_quote_label->show(); ?></td>
                <td><?php echo $date_quote_entry->show(); ?></td>
            </tr>
            <tr>
                <td colspan="2"><?php echo $form->showMessageError('id_client'); ?></td>
                <td colspan="2"><?php echo $form->showMessageError('date_quote'); ?></td>
            </tr>
            <tr>
                <td><?php echo $amount_label->show(); ?></td>
                <td><?php echo $amount_entry->show(); ?></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td colspan="2"><?php echo $form->showMessageError('amount'); ?></td>
                <td colspan="2"><?php echo $form->showMessageError('price'); ?></td>
            </tr>
            <tr>
                <td colspan="4">&nbsp;</td>
            </tr>
            <tr>
                <td colspan="4"><?php echo $button_add_producto->show(); ?></td>
            </tr>
            <tr>
                <td colspan="4"><?php echo $scrolled_list_add_product->show(); ?></td>
            </tr>
            <tr>
                <td colspan="4">&nbsp;</td>
            </tr>
            <tr>
                <td colspan="4" align="right"><?php echo $button_guardar->show(); ?></td>
            </tr>
        </table>
    </fieldset>
</center>
<?php echo $form->endForm(); ?>